package com.xyt.imei.core.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.luminary.common.framework.dao.GenericDao;
import com.xyt.imei.core.model.po.Store;

@Mapper
public interface StoreDao extends GenericDao<Store, String> {
	
	int selectCountByBranch(Map<String, Object> params);
	
	List<Store> selectPageByBranch(Map<String, Object> params);
	
	int selectRecordCountWaitReciveSourceByPage(Map<String, Object> params);
	
	List<Store> selectWaitRecivePageBySource(Map<String, Object> params);
	
	int selectRecordCountWaitReciveTargetByPage(Map<String, Object> params);
	
	List<Store> selectWaitRecivePageByTarget(Map<String, Object> params);
	
	int updateWaitReciveStatusByBatch(List<Store> store);
	
	int updateNormalStatusByBatch(List<Store> store);
	
	int updateReciveStatusByBatch(List<Store> store);
	
}